<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../common/foot.jsp"%>
<html>
<head>
    <title>欢迎登录！</title>
    <style type="text/css">
        .myInput{
            height: 50px;
            width: 600px;
            font-size: 30px;
        }
        .myBt{
            height: 50px;
            width: 100px;
        }
    </style>
</head>
<body>
    <div class="row">
        <div class="text-center" style="font-size: 50px">eSHOP后台管理</div>
    </div>
    <div class="row">
        <div class="col-md-4"></div>
        <div class="col-md-4 text-center">
            <form action="${pageContext.request.contextPath}/jsp/admin/admin.do" method="post" >
                <input type="hidden" name="method" value="login">
                <c:if test="${error != null}">
                    <div class="alert alert-danger" role="alert">
                        <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
                        <span class="sr-only">Error:</span>${error}
                    </div>
                </c:if>
                <div class="form-group text-center">
                    <label for="adminCode" style="font-size: 30px">用户名：</label>
                    <input type="text" class="form-control myInput" id="adminCode" name="adminCode" placeholder="请输入用户名" required/>
                </div>
                <div class="form-group">
                    <label for="adminPassword" style="font-size: 30px">密码：</label>
                    <input type="password" class="form-control myInput" id="adminPassword" name="adminPassword" placeholder="请输入密码" required/>
                </div>
                <div class="form-group">
                    <div class="row">
                        <div class="col-md-5 text-right">
                            <input type="submit" class="btn btn-lg btn-success myBt" value="登录"/>
                        </div>
                        <div class="col-md-2"></div>
                        <div class="col-md-5 text-left">
                            <input type="reset" class="btn btn-lg btn-info myBt" value="重置"/>
                        </div>
                    </div>
                </div>
            </form>
        </div>
        <div class="col-md-4"></div>
    </div>

</body>
</html>
